// 公共表单样式
.formSection {
  background-color: #f2f2f2;
  padding: 16px 24px;
  margin-bottom: 16px;
  border-radius: 4px;
  width: 96%;
  padding-bottom: 2px;

  &:last-child {
    margin-bottom: 0;
  }
  :global(.ant-form-item-label) {
    margin-bottom: 12px !important;
  }
}

.sectionLabel {
  font-size: 16px;
  color: #262626;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 8px;
  // margin-bottom: 8px;
  // padding-bottom: 8px;
}

.numberBadge {
  background-color: #d4ddff;
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: normal;
  min-width: 24px;
  text-align: center;
}

.required {
  color: #ff4d4f;
  margin-left: 4px;
}

// 移除Ant Design默认的必填星号
:global(.ant-form-item-required::before) {
  display: none !important;
}

// 基础输入框样式（默认60px宽度）
.formSection {
  :global(.ant-input-number) {
    width: 60px !important;
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    
    &:hover {
      border-color: #40a9ff;
    }
    
    &:focus {
      border-color: #1890ff;
      box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    }
  }

  :global(.ant-select) {
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    
    &:hover {
      border-color: #40a9ff;
    }
    
    &:focus {
      border-color: #1890ff;
      box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    }
  }
}

// 单选按钮样式
:global(.ant-radio-group) {
  display: flex;
  gap: 16px;
}

:global(.ant-radio-wrapper) {
  font-size: 14px;
  color: #262626;
}
